libobs_wrapper\utils\initialization/
mod.rs1#[cfg(windows)]
2mod windows;
3
4#[cfg(windows)]
5pub(crate) use windows::*;
6
7#[cfg(not(windows))]
8mod other;
9
10#[cfg(not(windows))]
11pub(crate) use other::*;
12
13use crate::unsafe_send::Sendable;
14
15#[cfg(any(target_os = "linux", doc, feature = "__test_environment"))]
16#[derive(Clone, Debug)]
17pub enum PlatformType {
18 X11,
19 Wayland,
20 Invalid,
21}
22
23#[derive(Debug, Clone)]
24pub enum NixDisplay {
25 X11(Sendable<*mut std::os::raw::c_void>),
26 Wayland(Sendable<*mut std::os::raw::c_void>),
27}